package com.jinsi.service.impl;

import com.jinsi.mapper.SupplierMapper;
import com.jinsi.pojo.Supplier;
import com.jinsi.service.SupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplierServiceImpl implements SupplierService {

    @Autowired
   private SupplierMapper supplierMapper;

    @Override
    public List<Supplier> getAll() {
        return supplierMapper.getAll();
    }
}
